<%@ page import="java.util.List" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
欢迎你！${username}<a href="loginoutServlet">退出</a><br>
当前登录的用户有:
<%
    List<String> list = (List<String>)application.getAttribute("list");
    for (String name:list){
        out.print(name+"<br>");
    }
%>
</body>
</html>
